package com.duoduo.springcloud.service;

import com.duoduo.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
* @Description: TODO
* @author: qwj
* @date: 2020/11/17 11:15
*/
public interface PaymentService {

    /**
     * 创建payment
     * @param payment
     * @return
     */
    int create(Payment payment);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    Payment getPaymentById(@Param("id") Long id);
}
